package OOday01;
/*构造方法的演示*/
public class ConsDemo {
    public static void main(String[] args) {
        Student zg = new Student();
        zg.name = "张光";
        zg.age = 15;
        zg.className = "2405";
        zg.stuId = "001";
        zg.sayHi();

        Student ll = new Student("李林",20,"2405","002");
        ll.sayHi();
        Student zl = new Student("赵亮",21,"2405","003");
        zl.sayHi();
    }
}
